package com.yungam.common.bean.process_threshold;

import com.yungam.common.bean.equip.EquipmentConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel("工艺阈值下发参数返回实体")
public class ProcessThresholdEntity {

    @ApiModelProperty(value = "设备 Id", required = true)
    private Integer equId;              // 设备 Id  (not null)
    @ApiModelProperty(value = "参数 id", required = true)
    private Integer paramId;            // 参数 id  (not null)
    @ApiModelProperty(value = "0 - 数值 || 1 - 状态", required = true)
    private Integer type;               // 0 - 数值 || 1 - 状态 (not null)
    @ApiModelProperty(value = "数值型最大值")
    private Double max;                // 数值型最大值
    @ApiModelProperty(value = "数值型最小值")
    private Double min;                // 数值型最小值
    @ApiModelProperty(value = "状态型告警值")
    private Double alarmNum;           // 状态型告警值
    @ApiModelProperty(value = "告警等级")
    private Integer level;              // 告警等级
    @ApiModelProperty(value = "告警项")
    private EquipmentConfig item;       // 告警项

}
